<?php
require_once('classTin.php');
$t = new tin;
$idYahoo=-1; if (isset($_GET['idYahoo'])==true) $idYahoo = $_GET['idYahoo']; settype($idYahoo,"int");
$yahoo = $t->YahooStatus($idYahoo);
$row_yahoo = mysql_fetch_assoc($yahoo);
?>
<style type="text/css">
<!--
#yahoo_online #label_support {
	background-image: url(image/label_SUPPORT.jpg);
	height: 35px;
	width: 200px;
	background-repeat: no-repeat;
	clear: both;
	float: left;
	margin-left: 7px;
}
-->
</style>

<div id="yahoo_online">
    <div id="label_support"></div>
    <div id="yahoo">
		<?php if($row_yahoo['AnHien']==1) { ?>
            <a href="ymsgr:sendim?bkvtin&m=Hello Vietnamfoosstep.com">
                <img src="images/yahoo_online.gif" alt="Vietnamfoodstep online" title="Vietnamfoodstep online">			
            </a>
        <?php } else { ?>
            <a href="ymsgr:sendim?bkvtin&m=Hello Vietnamfoosstep.com">
                <img src="images/yahoo_offline.gif" alt="Vietnamfoodstep offline" title="Vietnamfoodstep offline">
            </a>
        <?php } ?>
    </div>
</div>